package com.esun.payment_api.service;

import com.esun.payment_api.bean.InvContentDetailBean;
import com.esun.payment_api.domain.InvFormContent;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

@Service
public interface InvFormContentService {

    int insert(InvFormContent record);

    int deleteById(BigDecimal id);

    int delete(List<BigDecimal> ids);

    int update(InvFormContent record);

    InvContentDetailBean getById(BigDecimal id);

//    List<InvFormContent> getListByInvId(Short invId);

    //新增多条开票内容
    int insertMultiple(List<InvFormContent> records);

    String sumMoneyByInvId(Integer invId);
}
